var app = angular.module('myApp',[]);

//右侧内容controller
app.controller('rightCon',['$scope','$http',function($scope,$http){
    $http({
        method: 'get',
        url: 'data/books.json'
    }).then(function(res){
       $scope.items = res.data;
    });
}]);